import request from '@/router/axios';


/**
 * 获取游戏开服列表
 * @returns {AxiosPromise}
 */
export const getGameServerList = (current, size, params) => {
  return request({
    url: '/api/blade-game/gameserver/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}



/**
 * 今天游戏开服列表
 * @returns {AxiosPromise}
 */
export const todayOpenGameServerList = (current, size, params) => {
  return request({
    url: '/api/blade-game/gameserver/todayOpenGameServerList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}




/**
 * 准备开服列表
 * @returns {AxiosPromise}
 */
export const prepareOpenGameServerList = (current, size, params) => {
  return request({
    url: '/api/blade-game/gameserver/prepareOpenGameServerList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
